﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class wap_ziliaofenlei : System.Web.UI.Page
{
    protected string biaoti;
    protected string zhengwen;


    protected void Page_Load(object sender, EventArgs e)
    {
        using (DataClassesDataContext ds = new DataClassesDataContext())
        {

            Repeater1.DataSource = from q in ds.YeWuZiLiao
                                   where q.parentID == Convert.ToInt32(Request.QueryString["id"])
                                   orderby q.id
                                   select new
                                   {
                                       x = q.id,
                                       y = q.mingcheng
                                   };
            Repeater1.DataBind();
        }
    }
}